import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.config.productionTip = false
Vue.use(ElementUI)

import axios from 'axios'
// Vue.use(axios)
Vue.prototype.$http =axios;

//你的数据地址配置
// axios.defaults.baseURL="http://127.0.0.1:8888/api/private/v1/"


// axios.interceptors.request.use(config=>{
//   config.headers.Authorization = window.sessionStorage.getItem('token')
//   return config;
// })

import './assets/css/global.css'
import './assets/fonts/iconfont.css'



new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
